package com.newlink.building.common_base.event

/**
 * @Author: Jake
 * @Date: 2024-04-23
 * @Description:
 */

const val TYPE_CAPTURE_ENTER_EDIT_MODE: Int = 1001
const val TYPE_CAPTURE_EXIT_EDIT_MODE: Int = 1002

const val TYPE_APP_EXIT: Int = 2001
const val TYPE_APP_EXIT_FORCE: Int = 2002
const val TYPE_APP_EXIT_HTTP: Int = 2003
const val TYPE_APP_EXIT_MQTT: Int = 2004
const val TYPE_APP_BACK_PRESS: Int = 2005
const val TYPE_APP_RESEND_NOTIFY: Int = 2006
const val TYPE_APP_BACKGROUND: Int = 2007
const val TYPE_APP_FINISH_FORCE: Int = 2008
const val TYPE_APP_OPEN_BT: Int = 2009
const val TYPE_APP_REORDER_GLOBALPOPOVER_TO_FRONT: Int = 2010
const val TYPE_APP_TOGGLE_DRAWER: Int = 2011
const val TYPE_APP_SWITCH_FRAGMENT: Int = 2012


const val TYPE_APP_OPEN_DOOR: Int = 3001
const val TYPE_APP_OPEN_DOOR_RESULT: Int = 3002
const val TYPE_APP_OPEN_DOOR_FAIL: Int = 3003
const val TYPE_APP_OPEN_DOOR_TIMEOUT: Int = 3004
const val TYPE_APP_BLE_OPEN_DOOR_RESULT: Int = 3005
const val TYPE_APP_SET_SECURITY_RESULT_OK: Int = 3006
const val TYPE_APP_SET_SECURITY_RESULT_FAILED: Int = 3007

const val TYPE_APP_SCREENSHOT_EDIT_ON: Int = 4004
const val TYPE_APP_SCREENSHOT_EDIT_OFF: Int = 4005

const val TYPE_APP_MQTT_NOTIFY_URGENT: Int = 5001
const val TYPE_APP_MQTT_NOTIFY_ALARM: Int = 5002
const val TYPE_APP_MQTT_NOTIFY_ALARM_NOTIFY: Int = 5003
const val TYPE_APP_MQTT_CHECK_STATE: Int = 5007
const val TYPE_APP_MQTT_CHECK_STATE_CALLBACK: Int = 5008
const val TYPE_APP_MQTT_UPDATE_STATE: Int = 5009

const val TYPE_APP_SEND_COMMAND_MQTT: Int = 8004
const val TYPE_APP_SHOW_MSG: Int = 8005
const val TYPE_APP_SHOW_LOADING: Int = 8006
const val TYPE_APP_SHOW_WAITING_DIALOG: Int = 8007

//const val TYPE_CALL_STATE_CHANGE: Int = 6001
const val TYPE_CALL_SEND_CREATE_CHANNEL_REQUEST_HOME: Int = 6001
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_HOME: Int = 6011

const val TYPE_CALL_SEND_CREATE_CHANNEL_REQUEST_FAMILY: Int = 6002
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_FAMILY: Int = 6012

const val TYPE_CALL_SEND_CREATE_CHANNEL_REQUEST_SEARCH: Int = 6003
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_SEARCH: Int = 6013

const val TYPE_CALL_SEND_CREATE_CHANNEL_EQUEST_INCOMING: Int = 6004
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_INCOMING: Int = 6014

const val TYPE_CALL_SEND_CREATE_CHANNEL_REQUEST_MONITOR: Int = 6005
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_MONITOR: Int = 6015

const val TYPE_CALL_SEND_CREATE_CHANNEL_REQUEST_INCALL: Int = 6007
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_INCALL: Int = 6017

const val TYPE_CALL_SEND_CREATE_CHANNEL_REQUEST_INCOMING_EARLYMEDIA: Int = 6008
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_INCOMING_EARLYMEDIA: Int = 6018

const val TYPE_CALL_UPDATE_TOKEN_REQUEST: Int = 6009
const val TYPE_CALL_UPDATE_TOKEN_RESULT: Int = 6019

const val TYPE_CALL_UPDATE_CHANNEL_REQUEST: Int = 6010
const val TYPE_CALL_UPDATE_CHANNEL_RESULT: Int = 6020

const val TYPE_CALL_SEND_CREATE_CHANNEL_REQUEST_PROPERTY_MANAGER: Int = 6021
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_PROPERTY_MANAGER: Int = 6031

const val TYPE_CALL_SEND_CREATE_CHANNEL_REQUEST_PROPERTY_ROOM_USER: Int = 6022
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_PROPERTY_ROOM_USER: Int = 6032

const val TYPE_CALL_SEND_CREATE_CHANNEL_REQUEST_PROPERTY_MANAGER_SEARCH: Int = 6023
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_PROPERTY_MANAGER_SEARCH: Int = 6033

const val TYPE_CALL_SEND_SIP_BODY: Int = 6006
const val TYPE_UPLOAD_CALL_LOG: Int = 6100


const val TYPE_MESSAGE_CLOUD_UNREAD: Int = 7001
const val TYPE_MESSAGE_LOCAL_UNREAD: Int = 7002

const val TYPE_CALL_SEND_CREATE_CHANNEL_REQUEST_TRYING: Int = 8001
const val TYPE_CALL_SEND_CREATE_CHANNEL_RESULT_TRYING: Int = 8011

const val TYPE_CALL_MESSAGE_UP: Int = 9001

const val TYPE_REGISTER_SUCCESS: Int = 9002

//APP离线来电通知事件
const val TYPE_INCOMING_CALL_RECEIVE: Int = 10001

//设备管理界面设备更新事件
const val TYPE_HOME_REFRESH_DEVICE: Int = 10002

const val TYPE_SET_ARMING_MODE: Int = 10003

const val TYPE_POPOVER_CANCEL_ALARM_NOTIFY: Int = 10004

const val TYPE_SECRET_KEY_ADD_CLICKED: Int = 10005


data class MessageEvent(val msgType: Int, val msgContent: Any?)